package com.ruoyi.productstores.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品商店关联对象 productstores
 * 
 * @author ruoyi
 * @date 2024-06-30
 */
public class Productstores extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关联id */
    private Long productstoreId;

    /** 商店id */
    @Excel(name = "商店id")
    private Long storeId;

    /** 商品id */
    @Excel(name = "商品id")
    private Long productId;

    /** 商品描述 */
    @Excel(name = "商品描述")
    private String productDescription;

    /** 商品logo */
    @Excel(name = "商品logo")
    private String productLogo;

    /** 商品价格 */
    @Excel(name = "商品价格")
    private BigDecimal productPrice;

    /** 商品库存 */
    @Excel(name = "商品库存")
    private Long productStock;

    public void setProductstoreId(Long productstoreId) 
    {
        this.productstoreId = productstoreId;
    }

    public Long getProductstoreId() 
    {
        return productstoreId;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setProductDescription(String productDescription) 
    {
        this.productDescription = productDescription;
    }

    public String getProductDescription() 
    {
        return productDescription;
    }
    public void setProductLogo(String productLogo) 
    {
        this.productLogo = productLogo;
    }

    public String getProductLogo() 
    {
        return productLogo;
    }
    public void setProductPrice(BigDecimal productPrice) 
    {
        this.productPrice = productPrice;
    }

    public BigDecimal getProductPrice() 
    {
        return productPrice;
    }
    public void setProductStock(Long productStock) 
    {
        this.productStock = productStock;
    }

    public Long getProductStock() 
    {
        return productStock;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productstoreId", getProductstoreId())
            .append("storeId", getStoreId())
            .append("productId", getProductId())
            .append("productDescription", getProductDescription())
            .append("productLogo", getProductLogo())
            .append("productPrice", getProductPrice())
            .append("productStock", getProductStock())
            .toString();
    }
}
